/**
 * 
 */
package com.cap.bts.crmdp.dealer.purchase.scheduler;

import com.cap.bts.crmdp.dealer.purchase.service.IMemberPackageService;
import com.cap.bts.framework.common.util.ApplicationContextUtil;
import com.cap.bts.framework.scheduler.service.BaseJobBean;

/**
 * @author YIFEGU
 *
 */
public class PackageExpirationJob extends BaseJobBean {

    /* (non-Javadoc)
     * @see com.cap.bts.framework.scheduler.service.BaseJobBean#work()
     */
    @Override
    public void work() throws Exception {
       IMemberPackageService memberPackageService = (IMemberPackageService)ApplicationContextUtil.getBean("memberPackageServiceImpl");
       memberPackageService.processExpiredMemberPackageNew();
    }

}
